package gen.desktop.components;

import gen.core.models.ConnConfig;

import javax.swing.JRadioButtonMenuItem;

public class ConnConfigRadioButtonMenuItem extends JRadioButtonMenuItem {
	private static final long serialVersionUID = 1L;
	private ConnConfig connConfig;

	public ConnConfig getConnConfig() {
		return connConfig;
	}

	public void setConnConfig(ConnConfig connConfig) {
		this.connConfig = connConfig;
		this.setText(connConfig.getName());
	}
	
}
